.class Lcom/estrongs/android/ui/theme/ThemeActivity$c;
.super Ljava/lang/Object;
.source "ThemeActivity.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/theme/ThemeActivity;->f(Ljava/util/List;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/ui/theme/ThemeActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/theme/ThemeActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/theme/ThemeActivity$c;->a:Lcom/estrongs/android/ui/theme/ThemeActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/theme/ThemeActivity$c;->a:Lcom/estrongs/android/ui/theme/ThemeActivity;

    invoke-static {v0}, Lcom/estrongs/android/ui/theme/ThemeActivity;->c(Lcom/estrongs/android/ui/theme/ThemeActivity;)Lcom/estrongs/android/ui/adapter/h;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/ui/adapter/h;->a()I

    move-result v0

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/ThemeActivity$c;->a:Lcom/estrongs/android/ui/theme/ThemeActivity;

    invoke-static {v1}, Lcom/estrongs/android/ui/theme/ThemeActivity;->c(Lcom/estrongs/android/ui/theme/ThemeActivity;)Lcom/estrongs/android/ui/adapter/h;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/estrongs/android/ui/adapter/h;->getItem(I)Lcom/estrongs/android/ui/theme/a;

    move-result-object v0

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/ui/theme/ThemeActivity$c;->a:Lcom/estrongs/android/ui/theme/ThemeActivity;

    invoke-virtual {v1}, Landroid/app/Activity;->getPackageName()Ljava/lang/String;

    move-result-object v1

    iget-object v2, v0, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    const/4 v2, 0x0

    if-eqz v1, :cond_0

    .line 4
    check-cast p1, Les/v00;

    invoke-virtual {p1, v2}, Les/v00;->setEnabled(Z)Les/v00;

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/ui/theme/ThemeActivity$c;->a:Lcom/estrongs/android/ui/theme/ThemeActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/theme/ThemeActivity;->F()V

    return v2

    .line 6
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/ui/theme/ThemeActivity$c;->a:Lcom/estrongs/android/ui/theme/ThemeActivity;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/ui/theme/a;->f(Landroid/content/Context;)V

    return v2
.end method
